export default [
	// 个人中心
	/* 
        user
            base
                index
        域名/user/base/index
    */
	{
		path: 'base/index',
		name: 'BaseIndex',
		component: () => import('../../components/user/Index.vue'),
		//给这个路由添加自定义信息
		meta: {
			//ture有cookie不需要登录
			//false没有cookie需要登录
			IsLogin: true,
		},
	},
	// 注册
	{
		path: 'base/register',
		name: 'BaseRegister',
		component: () => import('../../components/user/Register.vue'),
	},
	// 登录
	{
		path: 'base/login',
		name: 'BaseLogin',
		component: () => import('../../components/user/Login.vue'),
	},
	// 修改资料
	{
		path: 'base/profile',
		name: 'BaseProfile',
		component: () => import('../../components/user/Profile.vue'),
	},
	// 邮箱
	{
		path: 'base/email',
		name: 'BaseEmail',
		component: () => import('../../components/user/Email.vue'),
	},
]
